package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.dto.standard.*;
import com.example.entity.Standard;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 数据标准目录表 服务类
 * </p>
 *
 * @author zhj
 * @since 2023-03-23
 */
public interface StandardService extends IService<Standard> {

    Page<StandardListDto> getPageList(StandardPageDto standardPageDto);

    StandardDto queryStandardById(Integer id);

    boolean addOrUpdateStandardData(CreateOrUpdateStandardDto createOrUpdateStandardDto);

    Boolean updateStandardStatus(UpdateStandardStatusDto updateStandardStatusDto);

    Boolean delStandard(Integer id);
}
